<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>测试公司信息资源管理系统</title>
<link rel="stylesheet" type="text/css" media="all" href="{%$css_path%}common_base.css" />
<link rel="stylesheet" type="text/css" media="all" href="{%$css_path%}login.css" />
<script type="text/javascript" src="{%$js_path%}jquery.js"></script>
<script type="text/javascript">
//验证登录
function check() {
	var userName = $('#user_name').val();
	if('' == userName || typeof(userName) == 'undefined') {
		alert('请输入用户名');
		$('#user_name').focus();
		return false;
	}
	var userPwd = $('#user_pwd').val();
	if('' == userPwd || typeof(userPwd) == 'undefined') {
		alert('请输入密码');
		$('#user_pwd').focus();
		return false;
	}
	return true;
}
</script>
</head>

<div class="container">
	<div class="header">
		<div class="logo"></div>
		<div class="header_txt">测试公司信息资源管理系统 -- 测试版</div>
	</div>
	<div class="mainnav"></div>
	<div class="content">
		<div class="main"></div>
		<div class="sidebar">
			<div class="login_main">
				<div class="title">登录</div>
				<form id="form1" method="POST" action="login.php?act=login" onsubmit="return check();">
				<div class="field">
					<span>用户名:</span>
					<input type="text" id="user_name" name="admin_user_name" value="" maxlength="30" />
				</div>
				<div class="field">
					<span>密码:</span>
					<input type="password" id="user_pwd" name="admin_user_pwd" value="" maxlength="50" autocomplete="off" />
				</div>
				<div class="field">
					<span>&nbsp;</span>
					<input type="hidden" name="login" value="1" />
					<input type="submit" value="" class="btn_login" hidefocus="true" />
				</div>
				</form>
			</div>
			<div class="login_footer"></div>
		</div>
	</div>
</div>

</body>
</html>